package com.maltys.abstract_demo;

import lombok.Data;

@Data
public abstract class Employee {
    private Integer id;
    private String name;
    private Double salary;

    public Employee(Integer id, String name, Double salary) {
        this.id = id;
        this.name = name;
        this.salary = salary;
    }

    public abstract void work();
}
